package com.hotel.dao;

import com.hotel.pojo.Yu;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

@Component
public interface YuMapper {

    int addVip(Yu vip);

    int deleteVipById(int id);

    int updateVipById(Yu vip);

    Yu queryVipById(int id);

    ArrayList<Yu> queryAllVip();

    Yu queryVipByPhone(String phone);
}
